<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * IM用户群表于用户中间表
 * Class UserChatGroupUser
 * @package App\Models
 */
class UserChatGroupUser extends Model
{
    //
    protected $guarded = [];

    //多对1关联群组表
    public function group()
    {
        return $this->belongsTo(UserChatGroup::class,'chat_group_id','id');
    }
}
